Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting
Logging dynamic object creation and deletion
To create log entries for dynamic object creation and deletion, use the Log Entry Types (
-logentrytypes)startup parameter or, for AppServer and WebSpeed, the srvrLogEntryTypesproperty in theubroker.propertiesfile. Specify one or more of the four dynamic object log entry types in a comma-separated list, or specifyDynObjects.*to get all four types. For example:
You also can turn on this logging at run time, by using the
LOG-MANAGERsystem handle. For example, you can include the following line in the 4GL code:
You can turn off this logging in the 4GL application by resetting the attribute. For example:
Log entries generated for any of these types contain the tag
DynObjects.OpenEdge writes a log entry every time it creates or destroys a dynamic object tracked by this feature. This also includes allocation and deletion of space for
MEMPTRs, if you specifyDynObjects.OtherorDynObjects.*.Logging class creation and deletion
Log entries generated for this type contain the tag
DYNOBJECTS. An example of Dynamic object logging messages for classes (with headers suppressed) is shown:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |